#include <QApplication>
#include <QTextEdit>
#include <QByteArray>
#include <QString>
#include <vector>
#include "loaderobj.hpp"
#include "objetobj.hpp"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    loaderOBJ load("Quadrirotot.obj");
    vector<objetOBJ> objects;
    load.loadObject(objects);
    QString data = QString(load.getContentFile().c_str());

    QTextEdit edit(data);

    edit.setFixedSize(800, 600);
    edit.setReadOnly(true);
    edit.show();   //Exécution de notre fenêtre de rendu OpenGL
    return app.exec();
}
